package com.lovo.supplier;

import com.lovo.service.ISupplierService;
import com.lovo.service.ISupplierproductService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
@SpringBootTest
@RunWith(SpringRunner.class)
public class SupplierT {


    @Autowired
    ISupplierService supplierService;

    @Autowired
    ISupplierproductService supplierproductService;
    @Test
    public void login(){
//        System.err.println( supplierService.login("tom","111"));
//        System.err.println(supplierproductService.findByName("好多鱼",1));

    }

}
